<?php
class GoodInfoAction extends Action {
    public function index (){
        $_GET['good_id']=121;
       $good=D('goods'); 
       $good_arr=$good->where("id=".$_GET['good_id'])->find();
       $this->assign('good_arr',$good_arr);
       $this->display();
        
    }
}